import request from '@/utils/request'
//所有视频模块的接口
export function uploadVideo(data){
    return request("/VueHandler/UpLoadVideoHandler", "post", data, "mul")
}
//添加视频接口
export function _addVideo(data){
    return request("/VueHandler/VideoHandler?action=add", "post", data)
}
//获取视频列表接口
export function _getVideoList(data){
    return request("/VueHandler/VideoHandler?action=showlist", "post", data)
}
//删除视频接口
export function _delVideo(videoId){
    return request('/VueHandler/VideoHandler?action=delete','get',{
        ID:videoId
    })
}
//编辑视频接口
export function _changeVideo(data){
    return request('/VueHandler/VideoHandler?action=update','post',data)
}